SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 39423: The BYPAGENO= option on the PROC REPORT statement might produce incorrect page numbers

DetailsCodeAboutRate It

The BYPAGENO= option specified on the PROC REPORT statement might produce incorrect page numbers.

The BYPAGENO= option might also cause the ^{thispage} ODS function to display an incorrect page value.

To circumvent the problem, run a separate PROC REPORT step for each BY variable value. The page number can be reset with the following OPTIONS statement placed prior to the PROC REPORT code:

options pageno=1;

Please see the code in the Full Code tab for an example of the circumvention.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASSolaris for x649.2 TS1M09.3 TS1M0
OpenVMS on HP Integrity9.2 TS1M09.3 TS1M0
Linux for x649.2 TS1M09.3 TS1M0
Linux9.2 TS1M09.3 TS1M0
HP-UX IPF9.2 TS1M09.3 TS1M0
64-bit Enabled Solaris9.2 TS1M09.3 TS1M0
64-bit Enabled HP-UX9.2 TS1M09.3 TS1M0
64-bit Enabled AIX9.2 TS1M09.3 TS1M0
Windows Vista9.2 TS1M09.3 TS1M0
Microsoft Windows XP Professional9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.3 TS1M0
Microsoft® Windows® for x649.2 TS1M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M09.3 TS1M0
z/OS9.2 TS1M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.